package com.zj.auth.service;

import com.zj.auth.bean.LoginTo;
import com.zj.auth.cache.RedisUtil;
import com.zj.auth.type.LoginType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 验证码
 * @author xi.yang
 * @create 2020-11-23 19:56
 **/
@Service
public class CodeService {
    @Autowired
    private RedisUtil redisUtil;
    public void sendCode(LoginType loginType, String account) {

    }

    public boolean validate(LoginTo loginTo) {
        return true;
    }
}
